.category {
    h2 {
        line-height: 76px;
    }

    ul {
        li {
            float: left;
            border: 1px solid #ddd;
            padding: 5px 15px;
            border-radius: 8px;
            margin-right: 10px;
            margin-bottom: 10px;
            cursor: pointer;
            user-select: none;

            &.active {
                border: 1px solid #00bdff;
                color: #00bdff;
            }
        }
    }
}

.search {
    margin-top: 55px;
    line-height: 30px;

    .search-box {
        width: 230px;
        height: 30px;
        line-height: 30px;
        background-color: #f4f4f4;
        border-radius: 15px;
        margin-left: 20px;
        overflow: hidden;

        input {
            height: 30px;
            background-color: #f4f4f4;
            border: none;
            padding: 0;
            text-indent: 20px;
            width: 190px;
        }

        .btn {
            width: 35px;
            background: url(../imgs/magnifier.png)no-repeat center;
        }
    }
}

.list {
    li {
        width: 226px;
        height: 268px;
        border: 1px solid #eee;
        padding: 10px;
        float: left;
        box-sizing: border-box;
        margin-right: 10px;
        margin-bottom: 10px;

        &:nth-child(5n) {
            margin-right: 0;
        }

        .on {
            display: none;
        }

        .list-left {
            padding: 5px 10px 5px 0;
            background-color: #e5f8ff;
            color: #00bdff;
        }

        h2 {
            line-height: 36px;
        }

        a {
            width: 192px;
            height: 32px;
            background-color: #00bdff;
            color: #fff;
            display: inline-block;
            text-align: center;
            position: absolute;
            bottom: 0px;
            left: 50%;
            transform: translate(-50%);
            line-height: 32px;
            opacity: 0;
            transition: 1s;
        }

        &:hover a {
            opacity: 1;
            bottom: 15px;
        }
    }
}

.fenye {
    width: 500px;
    margin: auto;

    ul {
        height: 40px;
        margin-top: 50px;

    }

    li {
        width: 40px;
        height: 40px;
        float: left;
        text-align: center;
        line-height: 40px;
        color: #3a2532;
        cursor: pointer;
        user-select: none;
    }

    .active {
        width: 38px;
        height: 37px;
        border-radius: 50%;
        background-color: #00bdff;
        color: #fff;
    }

    span {
        display: inline-block;
        margin-top: 10px;
        color: #09bcff;
    }
}

// #pages {
//     .pages-box {
//         height: 22px;
//         left: 50%;
//         transform: translate(-50%);

//         span {
//             display: inline-block;
//             width: 22px;
//             height: 22px;
//             margin: 0 10px;
//             border-radius: 50%;

//             &.active {
//                 background-color: #00bdff;
//                 color: #fff;
//             }
//         }
//     }
// }